import request from '@/utils/request';
import { AxiosPromise } from 'axios';

//商户出款审批代发列表
export const paymentApprovalList = (query: any): AxiosPromise<[]> => {
  return request({
    url: '/payment/bill/paymentApprovalList',
    method: 'get',
    params: query
  });
};



//商户出款审批代发待审批数量
export const paymentApprovalCount = (query: any): AxiosPromise<[]> => {
  return request({
    url: '/payment/bill/paymentApprovalCount',
    method: 'get',
    params: query
  });
};



//商户出款审批
export const billCheck = (data: any): AxiosPromise<[]> => {
  return request({
    url: '/payment/bill',
    method: 'post',
    data: data
  });
};









